package net.trustie.pipeline;

import javax.annotation.Resource;


import net.trustie.dao.IteyeBlog_Dao;

import net.trustie.model.iteye_blog_Model;

import org.springframework.stereotype.Component;

import core.PageModelPipeline;
import us.codecraft.webmagic.Task;

@Component("iteye_blog_pipeline")
public class IteyeBlog_pipeline  implements PageModelPipeline<iteye_blog_Model>{
	@Resource
	private IteyeBlog_Dao iteyeBlog_Dao;

	@Override
	public void process(iteye_blog_Model blog_Model, Task task) {
		iteyeBlog_Dao.add(blog_Model);
	}
}
